-
Notifications
You must be signed in to change notification settings - Fork 73
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[backend|frontend]Add the ability to customize the expiration time #1528
Conversation
f65620b
to
faa80df
Compare
cf3983e
to
c93fcdf
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #1528 +/- ##
============================================
- Coverage 32.76% 32.58% -0.18%
- Complexity 1502 1504 +2
============================================
Files 539 540 +1
Lines 13883 13980 +97
Branches 824 836 +12
============================================
+ Hits 4549 4556 +7
- Misses 9124 9214 +90
Partials 210 210
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
65616c0
to
5c209cb
Compare
openbas-front/src/admin/components/common/injects/expectations/ExpectationPopover.tsx
Show resolved
Hide resolved
openbas-front/src/admin/components/common/injects/expectations/InjectAddExpectation.tsx
Outdated
Show resolved
Hide resolved
openbas-front/src/admin/components/common/injects/expectations/ExpectationPopover.tsx
Outdated
Show resolved
Hide resolved
openbas-front/src/admin/components/common/injects/expectations/ExpectationPopover.tsx
Outdated
Show resolved
Hide resolved
openbas-framework/src/main/java/io/openbas/integrations/PayloadService.java
Outdated
Show resolved
Hide resolved
openbas-api/src/test/java/io/openbas/utils/fixtures/InjectExpectationFixture.java
Outdated
Show resolved
Hide resolved
long technicalMinutesExpirationTime = 60L; | ||
long manualMinutesExpirationTime = 360L; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is in minute or second ?
To compare with what we have as default in Contract
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is in minutes, as mentionned in the name.
openbas-api/src/main/java/io/openbas/injectors/caldera/CalderaContract.java
Outdated
Show resolved
Hide resolved
openbas-framework/src/main/java/io/openbas/model/expectation/PreventionExpectation.java
Show resolved
Hide resolved
openbas-model/src/main/java/io/openbas/database/model/InjectExpectation.java
Show resolved
Hide resolved
...s-api/src/main/java/io/openbas/migration/V3_41__Add_column_expiration_time_expectations.java
Outdated
Show resolved
Hide resolved
openbas-framework/src/main/java/io/openbas/execution/Injector.java
Outdated
Show resolved
Hide resolved
fcea871
to
229657f
Compare
63b845a
to
021d968
Compare
#1171